package com.cc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @author 33314
 * @version 1.0
 * @description: TODO
 * @date 2025/9/2 10:14
 */
//spring配置类
@Configuration
//引入Bean
@Import({MyBatisConfig.class, JdbcConfig.class}) // 引入MyBatis配置类,
@PropertySource("classpath:database.properties") // 引入数据库配置文件
@ComponentScan(basePackages = "com.cc")
public class SpringConfig {

}
